package com.fitns.user.model.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

@Data
public class User {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户名称")
    private String username;

    @ApiModelProperty("手机号码")
    private String tellNumber;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("用户编码")
    private String code;

    @ApiModelProperty("所属机构id")
    private Long organId;

    @ApiModelProperty("是否启用 0：启用  1:未启用")
    private int blnValid;

    @ApiModelProperty("创建者id")
    private Long createId;

    @ApiModelProperty("修改者id")
    private Long modifyId;

    @ApiModelProperty("真实姓名")
    private String trueName;

    @ApiModelProperty("邮件")
    private String email;

    @ApiModelProperty("昵称")
    private String loveName;

    @ApiModelProperty("登录次数")
    private Integer loginNum;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Timestamp createTime;

    @ApiModelProperty("修改时间")
    private Timestamp modifyTime;


}
